package com.tac.dao.mes;

import com.tac.pojo.mes.JobAssembly;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface JobAssemblyDao {
    List<JobAssembly> getList(@Param("jobName") String jobName,
                              @Param("startTimeStart") Date startTimeStart,
                              @Param("startTimeEnd") Date startTimeEnd,
                              @Param("endTimeStart") Date endTimeStart,
                              @Param("endTimeEnd") Date endTimeEnd);

    Integer save(JobAssembly jobAssembly);

    Integer remove(@Param("ids") List<Integer> ids);

    Integer update(JobAssembly jobAssembly);
}
